package com.lanqiao.attendance.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CourseVo {
    private Long id;
    private Long couClassId;
    private Long couTeaId;
    private String className;
    private Integer classStudentNum;
    private String teaName;
    private String couNumber;
    private String couTitle;
    private String couDetail;
    private Double couTimeLength;
    private String couStatus;
    private Integer signNum;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date couStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date couEndTime;
}
